package com.mes.cloud.api.dto.request.area;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.*;
import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.NotNull;

/**
 * 区域市场发展
 * 
 * @author dy
 * @version 2019-08-23 11:03:50
 * @email dongyi@shinho.net.cn
 */
@Data
public class MarketDevelopmentPageRequest implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "currentPage不能为空")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @DecimalMax(value = "1000", message = "pageSize不能超过1000")
    private int pageSize;

    @ApiModelProperty(value = "区域ID", required = false)
    @NotEmpty(message = "areaId不能为空")
    private String areaId;

    @ApiModelProperty(value = "渠道名称", required = false)
    private String queryString;

}
